package com.ruoyi.jjyh.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户地址对象 jjyh_useraddress
 * 
 * @author ruoyi
 * @date 2020-11-30
 */
public class JjyhUseraddress extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private String id;

    /** 用户ID */
    @Excel(name = "用户ID")
    private String userId;

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    /** 用户名称 */
    @Excel(name = "用户名称")
    private String nickName;

    /** 收货人姓名 */
    @Excel(name = "收货人姓名")
    private String userName;

    /** 收货人联系方式 */
    @Excel(name = "收货人联系方式")
    private String userPhone;

    /** 收货省份编码 */
    private String addressProv;

    /** 收货省份名称 */
    @Excel(name = "收货省份名称")
    private String addressProvname;

    /** 收货城市编码 */
    private String addressCity;

    /** 收货城市名称 */
    @Excel(name = "收货城市名称")
    private String addressCityname;

    /** 收货区域编码 */
    private String addressDist;

    /** 收货区域名称 */
    @Excel(name = "收货区域名称")
    private String addressDistname;

    /** 收货地址描述 */
    @Excel(name = "收货地址描述")
    private String addressDesc;

    /** 是否默认地址（1是0否） */
    @Excel(name = "是否默认地址", readConverterExp = "1=是0否")
    private String isDefault;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setUserName(String userName) 
    {
        this.userName = userName;
    }

    public String getUserName() 
    {
        return userName;
    }
    public void setUserPhone(String userPhone) 
    {
        this.userPhone = userPhone;
    }

    public String getUserPhone() 
    {
        return userPhone;
    }
    public void setAddressProv(String addressProv) 
    {
        this.addressProv = addressProv;
    }

    public String getAddressProv() 
    {
        return addressProv;
    }
    public void setAddressProvname(String addressProvname) 
    {
        this.addressProvname = addressProvname;
    }

    public String getAddressProvname() 
    {
        return addressProvname;
    }
    public void setAddressCity(String addressCity) 
    {
        this.addressCity = addressCity;
    }

    public String getAddressCity() 
    {
        return addressCity;
    }
    public void setAddressCityname(String addressCityname) 
    {
        this.addressCityname = addressCityname;
    }

    public String getAddressCityname() 
    {
        return addressCityname;
    }
    public void setAddressDist(String addressDist) 
    {
        this.addressDist = addressDist;
    }

    public String getAddressDist() 
    {
        return addressDist;
    }
    public void setAddressDistname(String addressDistname) 
    {
        this.addressDistname = addressDistname;
    }

    public String getAddressDistname() 
    {
        return addressDistname;
    }
    public void setAddressDesc(String addressDesc) 
    {
        this.addressDesc = addressDesc;
    }

    public String getAddressDesc() 
    {
        return addressDesc;
    }
    public void setIsDefault(String isDefault) 
    {
        this.isDefault = isDefault;
    }

    public String getIsDefault() 
    {
        return isDefault;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("userName", getUserName())
            .append("userPhone", getUserPhone())
            .append("addressProv", getAddressProv())
            .append("addressProvname", getAddressProvname())
            .append("addressCity", getAddressCity())
            .append("addressCityname", getAddressCityname())
            .append("addressDist", getAddressDist())
            .append("addressDistname", getAddressDistname())
            .append("addressDesc", getAddressDesc())
            .append("isDefault", getIsDefault())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
